Optimal. Leaf size=256 \[ -\frac{i (a-i a x)^{3/4} \sqrt [4]{a+i a x}}{a}+\frac{3 i \log \left (\frac{\sqrt{a-i a x}}{\sqrt{a+i a x}}-\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}+1\right )}{2 \sqrt{2}}-\frac{3 i \log \left (\frac{\sqrt{a-i a x}}{\sqrt{a+i a x}}+\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}+1\right )}{2 \sqrt{2}}-\frac{3 i \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{\sqrt{2}}+\frac{3 i \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{\sqrt{2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.158251, antiderivative size = 256, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 9, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.36, Rules used = {50, 63, 331, 297, 1162, 617, 204, 1165, 628} \[ -\frac{i (a-i a x)^{3/4} \sqrt [4]{a+i a x}}{a}+\frac{3 i \log \left (\frac{\sqrt{a-i a x}}{\sqrt{a+i a x}}-\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}+1\right )}{2 \sqrt{2}}-\frac{3 i \log \left (\frac{\sqrt{a-i a x}}{\sqrt{a+i a x}}+\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}+1\right )}{2 \sqrt{2}}-\frac{3 i \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{\sqrt{2}}+\frac{3 i \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{\sqrt{2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 331
Rule 297
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rubi steps
\begin{align*} \int \frac{(a-i a x)^{3/4}}{(a+i a x)^{3/4}} \, dx &=-\frac{i (a-i a x)^{3/4} \sqrt [4]{a+i a x}}{a}+\frac{1}{2} (3 a) \int \frac{1}{\sqrt [4]{a-i a x} (a+i a x)^{3/4}} \, dx\\ &=-\frac{i (a-i a x)^{3/4} \sqrt [4]{a+i a x}}{a}+6 i \operatorname{Subst}\left (\int \frac{x^2}{\left (2 a-x^4\right )^{3/4}} \, dx,x,\sqrt [4]{a-i a x}\right )\\ &=-\frac{i (a-i a x)^{3/4} \sqrt [4]{a+i a x}}{a}+6 i \operatorname{Subst}\left (\int \frac{x^2}{1+x^4} \, dx,x,\frac{\sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )\\ &=-\frac{i (a-i a x)^{3/4} \sqrt [4]{a+i a x}}{a}-3 i \operatorname{Subst}\left (\int \frac{1-x^2}{1+x^4} \, dx,x,\frac{\sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )+3 i \operatorname{Subst}\left (\int \frac{1+x^2}{1+x^4} \, dx,x,\frac{\sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )\\ &=-\frac{i (a-i a x)^{3/4} \sqrt [4]{a+i a x}}{a}+\frac{3}{2} i \operatorname{Subst}\left (\int \frac{1}{1-\sqrt{2} x+x^2} \, dx,x,\frac{\sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )+\frac{3}{2} i \operatorname{Subst}\left (\int \frac{1}{1+\sqrt{2} x+x^2} \, dx,x,\frac{\sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )+\frac{(3 i) \operatorname{Subst}\left (\int \frac{\sqrt{2}+2 x}{-1-\sqrt{2} x-x^2} \, dx,x,\frac{\sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{2 \sqrt{2}}+\frac{(3 i) \operatorname{Subst}\left (\int \frac{\sqrt{2}-2 x}{-1+\sqrt{2} x-x^2} \, dx,x,\frac{\sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{2 \sqrt{2}}\\ &=-\frac{i (a-i a x)^{3/4} \sqrt [4]{a+i a x}}{a}+\frac{3 i \log \left (1+\frac{\sqrt{a-i a x}}{\sqrt{a+i a x}}-\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{2 \sqrt{2}}-\frac{3 i \log \left (1+\frac{\sqrt{a-i a x}}{\sqrt{a+i a x}}+\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{2 \sqrt{2}}+\frac{(3 i) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{\sqrt{2}}-\frac{(3 i) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{\sqrt{2}}\\ &=-\frac{i (a-i a x)^{3/4} \sqrt [4]{a+i a x}}{a}-\frac{3 i \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{\sqrt{2}}+\frac{3 i \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{\sqrt{2}}+\frac{3 i \log \left (1+\frac{\sqrt{a-i a x}}{\sqrt{a+i a x}}-\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{2 \sqrt{2}}-\frac{3 i \log \left (1+\frac{\sqrt{a-i a x}}{\sqrt{a+i a x}}+\frac{\sqrt{2} \sqrt [4]{a-i a x}}{\sqrt [4]{a+i a x}}\right )}{2 \sqrt{2}}\\ \end{align*}
Mathematica [C] time = 0.0248626, size = 70, normalized size = 0.27 \[ \frac{2 i \sqrt [4]{2} (1+i x)^{3/4} (a-i a x)^{7/4} \, _2F_1\left (\frac{3}{4},\frac{7}{4};\frac{11}{4};\frac{1}{2}-\frac{i x}{2}\right )}{7 a (a+i a x)^{3/4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.043, size = 0, normalized size = 0. \begin{align*} \int{ \left ( a-iax \right ) ^{{\frac{3}{4}}} \left ( a+iax \right ) ^{-{\frac{3}{4}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-i \, a x + a\right )}^{\frac{3}{4}}}{{\left (i \, a x + a\right )}^{\frac{3}{4}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.58805, size = 594, normalized size = 2.32 \begin{align*} \frac{\sqrt{9 i} a \log \left (\frac{\sqrt{9 i}{\left (a x + i \, a\right )} + 3 \,{\left (i \, a x + a\right )}^{\frac{1}{4}}{\left (-i \, a x + a\right )}^{\frac{3}{4}}}{3 \, x + 3 i}\right ) - \sqrt{9 i} a \log \left (-\frac{\sqrt{9 i}{\left (a x + i \, a\right )} - 3 \,{\left (i \, a x + a\right )}^{\frac{1}{4}}{\left (-i \, a x + a\right )}^{\frac{3}{4}}}{3 \, x + 3 i}\right ) + \sqrt{-9 i} a \log \left (\frac{\sqrt{-9 i}{\left (a x + i \, a\right )} + 3 \,{\left (i \, a x + a\right )}^{\frac{1}{4}}{\left (-i \, a x + a\right )}^{\frac{3}{4}}}{3 \, x + 3 i}\right ) - \sqrt{-9 i} a \log \left (-\frac{\sqrt{-9 i}{\left (a x + i \, a\right )} - 3 \,{\left (i \, a x + a\right )}^{\frac{1}{4}}{\left (-i \, a x + a\right )}^{\frac{3}{4}}}{3 \, x + 3 i}\right ) - 2 i \,{\left (i \, a x + a\right )}^{\frac{1}{4}}{\left (-i \, a x + a\right )}^{\frac{3}{4}}}{2 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (- a \left (i x - 1\right )\right )^{\frac{3}{4}}}{\left (a \left (i x + 1\right )\right )^{\frac{3}{4}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.18519, size = 242, normalized size = 0.95 \begin{align*} \frac{3}{2} i \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} + \frac{2 \,{\left (-i \, a x + a\right )}^{\frac{1}{4}}}{{\left (i \, a x + a\right )}^{\frac{1}{4}}}\right )}\right ) + \frac{3}{2} i \, \sqrt{2} \arctan \left (-\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} - \frac{2 \,{\left (-i \, a x + a\right )}^{\frac{1}{4}}}{{\left (i \, a x + a\right )}^{\frac{1}{4}}}\right )}\right ) - \frac{3}{4} i \, \sqrt{2} \log \left (\frac{\sqrt{2}{\left (-i \, a x + a\right )}^{\frac{1}{4}}}{{\left (i \, a x + a\right )}^{\frac{1}{4}}} + \frac{\sqrt{-i \, a x + a}}{\sqrt{i \, a x + a}} + 1\right ) + \frac{3}{4} i \, \sqrt{2} \log \left (-\frac{\sqrt{2}{\left (-i \, a x + a\right )}^{\frac{1}{4}}}{{\left (i \, a x + a\right )}^{\frac{1}{4}}} + \frac{\sqrt{-i \, a x + a}}{\sqrt{i \, a x + a}} + 1\right ) - \frac{i \,{\left (i \, a x + a\right )}^{\frac{1}{4}}{\left (-i \, a x + a\right )}^{\frac{3}{4}}}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]